@echo off
@color 06

set GoDevWork=%cd%\

echo "Build For windows ..."
set GOOS=windows
set GOARCH=amd64
set GOPATH=%GoDevWork%;%GOPATH%
go build -ldflags "-s -w" -o go_auto_code.exe
echo "--------- Build For windows Success!"

echo "Build For darwin ..."
set GOOS=darwin
set GOARCH=amd64
set GOPATH=%GoDevWork%;%GOPATH%
go build -ldflags "-s -w" -o go_auto_code
echo "--------- Build For darwin Success!"

pause